package com.service;

import java.util.List;

import com.pojo.UrlFilter;

public interface IUrlFilterService {
	public UrlFilter createUrlFilter(UrlFilter urlFilter);

	public void deleteUrlFilter(int urlFilterId);

	public void deleteUrlFilters(int urlFilterId);

	/**
	 * 分页查询
	 * 
	 * @param page
	 *            查询第几页
	 * @param groups
	 *            每组个数
	 * @return
	 */
	public List<UrlFilter> getUrlFilters(int page, int groups);

	public List<UrlFilter> getUrlFilters();

	public UrlFilter getUrlFilterByid(int urlFilterid);

	public UrlFilter updateUrlFilter(UrlFilter urlFilter);

	/**
	 * 获取数据总数
	 * 
	 * @return
	 */
	public int getCounts();
}
